package com.svms.data;

import java.util.ArrayList;
import java.util.List;

import com.svms.service.vo.AddressVO;
import com.svms.service.vo.TransportVO;

public class TransportData {

	public List<TransportVO> getAllTransportInfo() {

		List<TransportVO> transportDataList = new ArrayList<TransportVO>();

		TransportVO transportVO = new TransportVO();
		transportVO.setCompanyName("Orange");
		AddressVO transportAddress = new AddressVO();
		transportVO.setTransportId("1");
		transportAddress.setAddressLine1("1_Address Line 1");
		transportAddress.setAddressLine2("1_Address Line 2");
		transportAddress.setEmail("admin@orange.com");
		transportAddress.setPhone("99456373215");
		transportVO.setTransportAddress(transportAddress);
		transportDataList.add(transportVO);
		System.out.println(transportVO);

		TransportVO transportVO1 = new TransportVO();
		AddressVO transportAddress1 = new AddressVO();

		transportVO1.setTransportId("2");
		transportVO1.setCompanyName("Orange");
		transportAddress1.setAddressLine1("2_Address Line 1");
		transportAddress1.setAddressLine2("2_Address Line 2");
		transportAddress1.setEmail("red@orange.com");
		transportAddress1.setPhone("354687421");
		transportVO1.setTransportAddress(transportAddress1);
		transportDataList.add(transportVO1);
		System.out.println(transportVO1);

		return transportDataList;
	}
}
